The Date object is used to work with dates and times.
You create an instance of the Date object with the "new" keyword.
To store the current date in a variable called "my_date":
var my_date=new Date() |
#Title: JavaScript Date Object
#Element: 381: The Date object The Date object is used to work ...
#Article: 176: JavaScript Date Object